<div>
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()" aria-label="Close"><span aria-hidden="true"class="closeBtn">&times;</span></button>
    <br/>
</div>
<div class="popup_box" style="overflow: hidden">
    <h3>产品类型</h3>
    <hr>
    <form class="form-horizontal">
      <!--  <div class="form-group col-sm-12">
            <label class="control-label col-sm-4">分类方式：</label>
            <div class="col-sm-8">
                <select class="form-control" ng-model="gtype.goodKind">
                    <option value="1">商品</option>
                    <option value="2">旧物</option>
                </select>
            </div>
        </div>-->
        <div class="form-group col-sm-12">
            <label class="control-label col-sm-4">类别名：</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" ng-model="gtype.typeName">
            </div>
        </div>
        <div class="form-group col-sm-12">
            <label class="control-label col-sm-4">价格：</label>
            <div class="col-sm-8">
                <input type="text" id="priceInput" class="form-control" ng-model="gtype.price" ng-keyup="priceInput()">
            </div>
        </div>
        <div class="form-group col-sm-12">
            <label class="control-label col-sm-4">logo：</label>
            <div class="col-sm-8" >
                <img ng-if="gtype.id!=undefined" style="height: 50px" ng-src="/dapi/download/getImageIO?imgUrl={{gtype.iconUrl}}"/>
                <input type="file" >
            </div>
        </div>
    </form>
    <div class="form-group col-sm-12 button_box table_btn_box editor_btn_box ">
        <button type="button" class="btn btn-primary btn_add" ng-click="submitGType()">确认</button>
        <button type="button" class="btn btn-primary back" ng-click="cancel()" >取消</button>
    </div>
</div>